
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-weixuanzhongyuanquan"></i>
                    <div class="name">未选中圆圈</div>
                    <div class="fontclass">.icon-weixuanzhongyuanquan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yundong"></i>
                    <div class="name">运动</div>
                    <div class="fontclass">.icon-yundong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yiliao"></i>
                    <div class="name">医疗</div>
                    <div class="fontclass">.icon-yiliao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-cart"></i>
                    <div class="name">cart</div>
                    <div class="fontclass">.icon-cart</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fenleiorguangchangorqita"></i>
                    <div class="name">分类or广场or其他</div>
                    <div class="fontclass">.icon-fenleiorguangchangorqita</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-youxitianchong"></i>
                    <div class="name">游戏_填充</div>
                    <div class="fontclass">.icon-youxitianchong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dizhi"></i>
                    <div class="name">地址</div>
                    <div class="fontclass">.icon-dizhi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-iconfontshenghuojiaofei"></i>
                    <div class="name">生活服务</div>
                    <div class="fontclass">.icon-iconfontshenghuojiaofei</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wenhua"></i>
                    <div class="name">文化</div>
                    <div class="fontclass">.icon-wenhua</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dashaxiaoqudizhi01"></i>
                    <div class="name">大厦小区地址</div>
                    <div class="fontclass">.icon-dashaxiaoqudizhi01</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yuanquanweixuanfuben"></i>
                    <div class="name">15-圆圈未选 - 副本</div>
                    <div class="fontclass">.icon-yuanquanweixuanfuben</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiaolian1"></i>
                    <div class="name">笑脸</div>
                    <div class="fontclass">.icon-xiaolian1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon-calendar"></i>
                    <div class="name">日历</div>
                    <div class="fontclass">.icon-icon-calendar</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiazai3"></i>
                    <div class="name">购物</div>
                    <div class="fontclass">.icon-xiazai3</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-funnelloudou"></i>
                    <div class="name">funnel-漏斗</div>
                    <div class="fontclass">.icon-funnelloudou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-lvyou"></i>
                    <div class="name">旅游</div>
                    <div class="fontclass">.icon-lvyou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qinzi"></i>
                    <div class="name">亲子</div>
                    <div class="fontclass">.icon-qinzi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chenggong"></i>
                    <div class="name">成功</div>
                    <div class="fontclass">.icon-chenggong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiaolian"></i>
                    <div class="name">笑脸</div>
                    <div class="fontclass">.icon-xiaolian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gongsixinxi1"></i>
                    <div class="name">公司信息-1</div>
                    <div class="fontclass">.icon-gongsixinxi1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wuxian"></i>
                    <div class="name">无线</div>
                    <div class="fontclass">.icon-wuxian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-haofangtuo400iconfont2meishi"></i>
                    <div class="name">好房拓 4.0.0 iconfont 2_美食</div>
                    <div class="fontclass">.icon-haofangtuo400iconfont2meishi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-diannao"></i>
                    <div class="name">电脑</div>
                    <div class="fontclass">.icon-diannao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-time"></i>
                    <div class="name">时间</div>
                    <div class="fontclass">.icon-time</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kouhong"></i>
                    <div class="name">丽人</div>
                    <div class="fontclass">.icon-kouhong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xuexiao"></i>
                    <div class="name">学校</div>
                    <div class="fontclass">.icon-xuexiao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wuwangluo"></i>
                    <div class="name">无网络</div>
                    <div class="fontclass">.icon-wuwangluo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gou"></i>
                    <div class="name">勾</div>
                    <div class="fontclass">.icon-gou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wuxian1"></i>
                    <div class="name">无线 (1)</div>
                    <div class="fontclass">.icon-wuxian1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-ziyuan"></i>
                    <div class="name">勾选</div>
                    <div class="fontclass">.icon-ziyuan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shijian"></i>
                    <div class="name">时间</div>
                    <div class="fontclass">.icon-shijian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kulian-line"></i>
                    <div class="name">符号-哭脸-line</div>
                    <div class="fontclass">.icon-kulian-line</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chongliuliang"></i>
                    <div class="name">充流量</div>
                    <div class="fontclass">.icon-chongliuliang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-funnel"></i>
                    <div class="name">漏斗</div>
                    <div class="fontclass">.icon-funnel</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jigoutuanti"></i>
                    <div class="name">机构团体</div>
                    <div class="fontclass">.icon-jigoutuanti</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-computer_icon"></i>
                    <div class="name">电脑</div>
                    <div class="fontclass">.icon-computer_icon</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiudian"></i>
                    <div class="name">酒店</div>
                    <div class="fontclass">.icon-jiudian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shenfenzheng"></i>
                    <div class="name">身份证</div>
                    <div class="fontclass">.icon-shenfenzheng</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-erji-jichusheshi"></i>
                    <div class="name">二级-基础设施</div>
                    <div class="fontclass">.icon-erji-jichusheshi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shangwutubiao-"></i>
                    <div class="name">银行</div>
                    <div class="fontclass">.icon-shangwutubiao-</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-hunyinlianai"></i>
                    <div class="name">婚姻恋爱</div>
                    <div class="fontclass">.icon-hunyinlianai</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
